using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.BusinessService.DataContract.Hastc
{
    [Serializable]
    public class STSSTOCKSINFO
    {
        #region [Properties]

        private decimal _STOCK_INFO_ID;
        private DateTime _TRADING_DATE;
        private string _TIME;
        private decimal _STOCK_ID;
        private string _CODE;
        private decimal _STOCK_TYPE;
        private decimal _TOTAL_LISTING_QTTY;
        private decimal _TRADING_UNIT;
        private decimal _LISTTING_STATUS;
        private decimal _ADJUST_QTTY;
        private decimal _REFERENCE_STATUS;
        private decimal _ADJUST_RATE;
        private decimal _DIVIDENT_RATE;
        private decimal _STATUS;
        private decimal _TOTAL_ROOM;
        private decimal _CURRENT_ROOM;
        private decimal _BASIC_PRICE;
        private decimal _OPEN_PRICE;
        private decimal _CLOSE_PRICE;
        private decimal _CURRENT_PRICE;
        private decimal _CURRENT_QTTY;
        private decimal _HIGHEST_PRICE;
        private decimal _LOWEST_PRICE;
        private decimal _BEST_OFFER_PRICE;
        private decimal _BEST_BID_PRICE;
        private decimal _CEILING_PRICE;
        private decimal _FLOOR_PRICE;
        private decimal _TOTAL_OFFER_QTTY;
        private decimal _TOTAL_BID_QTTY;
        private decimal _BEST_OFFER_QTTY;
        private decimal _BEST_BID_QTTY;
        private decimal _PRIOR_PRICE;
        private decimal _PRIOR_CLOSE_PRICE;
        private decimal _MATCH_PRICE;
        private decimal _MATCH_QTTY;
        private decimal _DELETED;
        private DateTime _DATE_MODIFIED;
        private string _MODIFIED_BY;
        private string _CREATED_BY;
        private string _NAME;
        private decimal _PARVALUE;
        private DateTime _DATE_CREATED;
        private decimal _MATCH_VALUE;
        private string _FLOOR_CODE;
        private decimal _IS_CALCINDEX;
        private decimal _IS_DETERMINECL;
        private decimal _DATE_NO;
        private decimal _OFFER_COUNT;
        private decimal _BID_COUNT;
        private decimal _AVERAGE_PRICE;
        private decimal _INDEX_PRICE;
        private decimal _PREV_PRIOR_PRICE;
        private decimal _YIELDMAT;
        private decimal _PREV_PRIOR_CLOSE_PRICE;
        private decimal _NM_TOTAL_TRADED_QTTY;
        private decimal _NM_TOTAL_TRADED_VALUE;
        private decimal _PT_MATCH_QTTY;
        private decimal _PT_MATCH_PRICE;
        private decimal _PT_TOTAL_TRADED_QTTY;
        private decimal _PT_TOTAL_TRADED_VALUE;
        private decimal _TOTAL_BUY_TRADING_QTTY;
        private decimal _BUY_COUNT;
        private decimal _TOTAL_BUY_TRADING_VALUE;
        private decimal _TOTAL_SELL_TRADING_QTTY;
        private decimal _SELL_COUNT;
        private decimal _TOTAL_SELL_TRADING_VALUE;
        private decimal _TOTAL_TRADING_QTTY;
        private decimal _TOTAL_TRADING_VALUE;
        private decimal _BUY_FOREIGN_QTTY;
        private decimal _BUY_FOREIGN_VALUE;
        private decimal _SELL_FOREIGN_QTTY;
        private decimal _SELL_FOREIGN_VALUE;
        private decimal _REMAIN_FOREIGN_QTTY;
        private decimal _PT_YIELDMAT;


        public decimal STOCK_INFO_ID
        {
            get { return _STOCK_INFO_ID; }
            set { _STOCK_INFO_ID = value; }
        }


        public DateTime TRADING_DATE
        {
            get { return _TRADING_DATE; }
            set { _TRADING_DATE = value; }
        }


        public string TIME
        {
            get { return _TIME; }
            set { _TIME = value; }
        }


        public decimal STOCK_ID
        {
            get { return _STOCK_ID; }
            set { _STOCK_ID = value; }
        }


        public string CODE
        {
            get { return _CODE; }
            set { _CODE = value; }
        }


        public decimal STOCK_TYPE
        {
            get { return _STOCK_TYPE; }
            set { _STOCK_TYPE = value; }
        }


        public decimal TOTAL_LISTING_QTTY
        {
            get { return _TOTAL_LISTING_QTTY; }
            set { _TOTAL_LISTING_QTTY = value; }
        }


        public decimal TRADING_UNIT
        {
            get { return _TRADING_UNIT; }
            set { _TRADING_UNIT = value; }
        }


        public decimal LISTTING_STATUS
        {
            get { return _LISTTING_STATUS; }
            set { _LISTTING_STATUS = value; }
        }


        public decimal ADJUST_QTTY
        {
            get { return _ADJUST_QTTY; }
            set { _ADJUST_QTTY = value; }
        }


        public decimal REFERENCE_STATUS
        {
            get { return _REFERENCE_STATUS; }
            set { _REFERENCE_STATUS = value; }
        }


        public decimal ADJUST_RATE
        {
            get { return _ADJUST_RATE; }
            set { _ADJUST_RATE = value; }
        }


        public decimal DIVIDENT_RATE
        {
            get { return _DIVIDENT_RATE; }
            set { _DIVIDENT_RATE = value; }
        }


        public decimal STATUS
        {
            get { return _STATUS; }
            set { _STATUS = value; }
        }


        public decimal TOTAL_ROOM
        {
            get { return _TOTAL_ROOM; }
            set { _TOTAL_ROOM = value; }
        }


        public decimal CURRENT_ROOM
        {
            get { return _CURRENT_ROOM; }
            set { _CURRENT_ROOM = value; }
        }


        public decimal BASIC_PRICE
        {
            get { return _BASIC_PRICE; }
            set { _BASIC_PRICE = value; }
        }


        public decimal OPEN_PRICE
        {
            get { return _OPEN_PRICE; }
            set { _OPEN_PRICE = value; }
        }


        public decimal CLOSE_PRICE
        {
            get { return _CLOSE_PRICE; }
            set { _CLOSE_PRICE = value; }
        }


        public decimal CURRENT_PRICE
        {
            get { return _CURRENT_PRICE; }
            set { _CURRENT_PRICE = value; }
        }


        public decimal CURRENT_QTTY
        {
            get { return _CURRENT_QTTY; }
            set { _CURRENT_QTTY = value; }
        }


        public decimal HIGHEST_PRICE
        {
            get { return _HIGHEST_PRICE; }
            set { _HIGHEST_PRICE = value; }
        }


        public decimal LOWEST_PRICE
        {
            get { return _LOWEST_PRICE; }
            set { _LOWEST_PRICE = value; }
        }


        public decimal BEST_OFFER_PRICE
        {
            get { return _BEST_OFFER_PRICE; }
            set { _BEST_OFFER_PRICE = value; }
        }

        public decimal BEST_BID_PRICE
        {
            get { return _BEST_BID_PRICE; }
            set { _BEST_BID_PRICE = value; }
        }


        public decimal CEILING_PRICE
        {
            get { return _CEILING_PRICE; }
            set { _CEILING_PRICE = value; }
        }


        public decimal FLOOR_PRICE
        {
            get { return _FLOOR_PRICE; }
            set { _FLOOR_PRICE = value; }
        }


        public decimal TOTAL_OFFER_QTTY
        {
            get { return _TOTAL_OFFER_QTTY; }
            set { _TOTAL_OFFER_QTTY = value; }
        }


        public decimal TOTAL_BID_QTTY
        {
            get { return _TOTAL_BID_QTTY; }
            set { _TOTAL_BID_QTTY = value; }
        }


        public decimal BEST_OFFER_QTTY
        {
            get { return _BEST_OFFER_QTTY; }
            set { _BEST_OFFER_QTTY = value; }
        }


        public decimal BEST_BID_QTTY
        {
            get { return _BEST_BID_QTTY; }
            set { _BEST_BID_QTTY = value; }
        }

        public decimal PRIOR_PRICE
        {
            get { return _PRIOR_PRICE; }
            set { _PRIOR_PRICE = value; }
        }


        public decimal PRIOR_CLOSE_PRICE
        {
            get { return _PRIOR_CLOSE_PRICE; }
            set { _PRIOR_CLOSE_PRICE = value; }
        }


        public decimal MATCH_PRICE
        {
            get { return _MATCH_PRICE; }
            set { _MATCH_PRICE = value; }
        }


        public decimal MATCH_QTTY
        {
            get { return _MATCH_QTTY; }
            set { _MATCH_QTTY = value; }
        }


        public decimal DELETED
        {
            get { return _DELETED; }
            set { _DELETED = value; }
        }


        public DateTime DATE_CREATED
        {
            get { return _DATE_CREATED; }
            set { _DATE_CREATED = value; }
        }

        public DateTime DATE_MODIFIED
        {
            get { return _DATE_MODIFIED; }
            set { _DATE_MODIFIED = value; }
        }


        public string MODIFIED_BY
        {
            get { return _MODIFIED_BY; }
            set { _MODIFIED_BY = value; }
        }


        public string CREATED_BY
        {
            get { return _CREATED_BY; }
            set { _CREATED_BY = value; }
        }


        public string NAME
        {
            get { return _NAME; }
            set { _NAME = value; }
        }


        public decimal PARVALUE
        {
            get { return _PARVALUE; }
            set { _PARVALUE = value; }
        }


        public decimal MATCH_VALUE
        {
            get { return _MATCH_VALUE; }
            set { _MATCH_VALUE = value; }
        }


        public string FLOOR_CODE
        {
            get { return _FLOOR_CODE; }
            set { _FLOOR_CODE = value; }
        }


        public decimal IS_CALCINDEX
        {
            get { return _IS_CALCINDEX; }
            set { _IS_CALCINDEX = value; }
        }


        public decimal IS_DETERMINECL
        {
            get { return _IS_DETERMINECL; }
            set { _IS_DETERMINECL = value; }
        }


        public decimal DATE_NO
        {
            get { return _DATE_NO; }
            set { _DATE_NO = value; }
        }


        public decimal OFFER_COUNT
        {
            get { return _OFFER_COUNT; }
            set { _OFFER_COUNT = value; }
        }


        public decimal BID_COUNT
        {
            get { return _BID_COUNT; }
            set { _BID_COUNT = value; }
        }


        public decimal AVERAGE_PRICE
        {
            get { return _AVERAGE_PRICE; }
            set { _AVERAGE_PRICE = value; }
        }


        public decimal INDEX_PRICE
        {
            get { return _INDEX_PRICE; }
            set { _INDEX_PRICE = value; }
        }

        public decimal PREV_PRIOR_PRICE
        {
            get { return _PREV_PRIOR_PRICE; }
            set { _PREV_PRIOR_PRICE = value; }
        }


        public decimal YIELDMAT
        {
            get { return _YIELDMAT; }
            set { _YIELDMAT = value; }
        }


        public decimal PREV_PRIOR_CLOSE_PRICE
        {
            get { return _PREV_PRIOR_CLOSE_PRICE; }
            set { _PREV_PRIOR_CLOSE_PRICE = value; }
        }


        public decimal NM_TOTAL_TRADED_QTTY
        {
            get { return _NM_TOTAL_TRADED_QTTY; }
            set { _NM_TOTAL_TRADED_QTTY = value; }
        }


        public decimal NM_TOTAL_TRADED_VALUE
        {
            get { return _NM_TOTAL_TRADED_VALUE; }
            set { _NM_TOTAL_TRADED_VALUE = value; }
        }


        public decimal PT_MATCH_QTTY
        {
            get { return _PT_MATCH_QTTY; }
            set { _PT_MATCH_QTTY = value; }
        }


        public decimal PT_MATCH_PRICE
        {
            get { return _PT_MATCH_PRICE; }
            set { _PT_MATCH_PRICE = value; }
        }


        public decimal PT_TOTAL_TRADED_QTTY
        {
            get { return _PT_TOTAL_TRADED_QTTY; }
            set { _PT_TOTAL_TRADED_QTTY = value; }
        }


        public decimal PT_TOTAL_TRADED_VALUE
        {
            get { return _PT_TOTAL_TRADED_VALUE; }
            set { _PT_TOTAL_TRADED_VALUE = value; }
        }


        public decimal TOTAL_BUY_TRADING_QTTY
        {
            get { return _TOTAL_BUY_TRADING_QTTY; }
            set { _TOTAL_BUY_TRADING_QTTY = value; }
        }


        public decimal BUY_COUNT
        {
            get { return _BUY_COUNT; }
            set { _BUY_COUNT = value; }
        }


        public decimal TOTAL_BUY_TRADING_VALUE
        {
            get { return _TOTAL_BUY_TRADING_VALUE; }
            set { _TOTAL_BUY_TRADING_VALUE = value; }
        }


        public decimal TOTAL_SELL_TRADING_QTTY
        {
            get { return _TOTAL_SELL_TRADING_QTTY; }
            set { _TOTAL_SELL_TRADING_QTTY = value; }
        }


        public decimal SELL_COUNT
        {
            get { return _SELL_COUNT; }
            set { _SELL_COUNT = value; }
        }

        public decimal TOTAL_SELL_TRADING_VALUE
        {
            get { return _TOTAL_SELL_TRADING_VALUE; }
            set { _TOTAL_SELL_TRADING_VALUE = value; }
        }


        public decimal TOTAL_TRADING_QTTY
        {
            get { return _TOTAL_TRADING_QTTY; }
            set { _TOTAL_TRADING_QTTY = value; }
        }


        public decimal TOTAL_TRADING_VALUE
        {
            get { return _TOTAL_TRADING_VALUE; }
            set { _TOTAL_TRADING_VALUE = value; }
        }


        public decimal BUY_FOREIGN_QTTY
        {
            get { return _BUY_FOREIGN_QTTY; }
            set { _BUY_FOREIGN_QTTY = value; }
        }


        public decimal BUY_FOREIGN_VALUE
        {
            get { return _BUY_FOREIGN_VALUE; }
            set { _BUY_FOREIGN_VALUE = value; }
        }


        public decimal SELL_FOREIGN_QTTY
        {
            get { return _SELL_FOREIGN_QTTY; }
            set { _SELL_FOREIGN_QTTY = value; }
        }


        public decimal SELL_FOREIGN_VALUE
        {
            get { return _SELL_FOREIGN_VALUE; }
            set { _SELL_FOREIGN_VALUE = value; }
        }


        public decimal REMAIN_FOREIGN_QTTY
        {
            get { return _REMAIN_FOREIGN_QTTY; }
            set { _REMAIN_FOREIGN_QTTY = value; }
        }


        public decimal PT_YIELDMAT
        {
            get { return _PT_YIELDMAT; }
            set { _PT_YIELDMAT = value; }
        }

        #endregion

        public STSSTOCKSINFO()
        {

        }
        public STSSTOCKSINFO(decimal stockinfoid, DateTime tradingdate, string time, decimal stockid, string code, decimal stocktype, decimal listing, decimal unit, decimal listingstatus, decimal adjustqtty, decimal refereencestatus, decimal adjustrate, decimal dividentrate, decimal status, decimal totalroom, decimal currentroom, decimal basicprice, decimal openprice, decimal closeprice, decimal currentprice, decimal currentqtty, decimal high, decimal low, decimal bestoffer, decimal bestbid, decimal ceiling, decimal floor, decimal totalofferqqty, decimal totalbidqtty, decimal priorprice, decimal priorcloseprice, decimal matchprice, decimal matchqtty, decimal delete, DateTime datemodifiy, string modifyby, DateTime datecreate, string createby, string name, decimal parvalue, decimal matchvalue, string floorcode, decimal iscalindex, decimal isdetermine, decimal dateno, decimal offercount, decimal bidcount, decimal average, decimal indexprice, decimal prevprioprice, decimal yieldmat, decimal prevpriocloseprice, decimal nmtotaltradeqtty, decimal nmtotaltradevalue, decimal ptmatchqtty, decimal ptmatchprice, decimal pttotaltradeqtty, decimal pttotaltradevalue, decimal totalbuytradingqtty, decimal buycount, decimal totalbuytradingvalue, decimal totalselltradingvalue, decimal sellcount, decimal totalselltradingqtty, decimal totaltradingqtty, decimal totaltradingvalue, decimal buyforeignqtty, decimal buyforeignvalue, decimal sellforeignqtty, decimal sellforeignvalue, decimal remainforeignqtty, decimal ptyieldmat)
        {
            this._STOCK_INFO_ID = stockinfoid;
            this._TRADING_DATE = tradingdate;
            this._TIME = time;
            this._STOCK_ID = stockid;
            this._CODE = code;
            this._STOCK_TYPE = stocktype;
            this._TOTAL_LISTING_QTTY = listing;
            this._TRADING_UNIT = unit;
            this._LISTTING_STATUS = listingstatus;
            this._ADJUST_QTTY = adjustqtty;
            this._REFERENCE_STATUS = refereencestatus;
            this._ADJUST_RATE = adjustrate;
            this._DIVIDENT_RATE = dividentrate;
            this._STATUS = status;
            this._TOTAL_ROOM = totalroom;
            this._CURRENT_ROOM = currentroom;
            this._BASIC_PRICE = basicprice;
            this._OPEN_PRICE = openprice;
            this._CLOSE_PRICE = closeprice;
            this._CURRENT_PRICE = currentprice;
            this._CURRENT_QTTY = currentqtty;
            this._HIGHEST_PRICE = high;
            this._LOWEST_PRICE = low;
            this._BEST_OFFER_PRICE = bestoffer;
            this._BEST_BID_PRICE = bestbid;
            this._CEILING_PRICE = ceiling;
            this._FLOOR_PRICE = floor;
            this._TOTAL_OFFER_QTTY = totalofferqqty;
            this._TOTAL_BID_QTTY = totalbidqtty;
            this._PRIOR_PRICE = priorprice;
            this._PRIOR_CLOSE_PRICE = priorcloseprice;
            this._MATCH_PRICE = matchprice;
            this._MATCH_QTTY = matchqtty;
            this._DELETED = delete;
            this._DATE_MODIFIED = datemodifiy;
            this._MODIFIED_BY = modifyby;
            this._CREATED_BY = createby;
            this._DATE_CREATED = datecreate;
            this._NAME = name;
            this._PARVALUE = parvalue;
            this._MATCH_VALUE = matchvalue;
            this._FLOOR_CODE = floorcode;
            this._IS_CALCINDEX = iscalindex;
            this._IS_DETERMINECL = isdetermine;
            this._DATE_NO = dateno;
            this._OFFER_COUNT = offercount;
            this._BID_COUNT = bidcount;
            this._AVERAGE_PRICE = average;
            this._INDEX_PRICE = indexprice;
            this._PREV_PRIOR_PRICE = prevprioprice;
            this._YIELDMAT = yieldmat;
            this._PREV_PRIOR_CLOSE_PRICE = prevpriocloseprice;
            this._NM_TOTAL_TRADED_QTTY = nmtotaltradeqtty;
            this._NM_TOTAL_TRADED_VALUE = nmtotaltradevalue;
            this._PT_MATCH_QTTY = ptmatchqtty;
            this._PT_MATCH_PRICE = ptmatchprice;
            this._PT_TOTAL_TRADED_QTTY = pttotaltradeqtty;
            this._PT_TOTAL_TRADED_VALUE = pttotaltradevalue;
            this._TOTAL_BUY_TRADING_QTTY = totalbuytradingqtty;
            this._TOTAL_BUY_TRADING_VALUE = totalbuytradingvalue;
            this._BUY_COUNT = buycount;
            this._TOTAL_SELL_TRADING_QTTY = totalselltradingqtty;
            this._TOTAL_SELL_TRADING_VALUE = totalselltradingvalue;
            this._SELL_COUNT = sellcount;
            this._TOTAL_TRADING_QTTY = totaltradingqtty;
            this._TOTAL_TRADING_VALUE = totaltradingvalue;
            this._BUY_FOREIGN_QTTY = buyforeignqtty;
            this._BUY_FOREIGN_VALUE = buyforeignvalue;
            this._SELL_FOREIGN_QTTY = sellforeignqtty;
            this._SELL_FOREIGN_VALUE = sellforeignvalue;
            this._REMAIN_FOREIGN_QTTY = remainforeignqtty;
            this._PT_YIELDMAT = ptyieldmat;

        }
        public STSSTOCKSINFO(decimal stockid, string symbol, string name)
        {
            this._STOCK_ID = stockid;
            this._CODE = symbol;
            this._NAME = name;
        }
    }
}
